C# |
---|
public String GetBeginSelector(String selectorName, TextState textState) |
C# |
---|
// Root Method Begin var textState = new TextState(); // Defaults: IndentCharCount = 2, LineLimit = 80, WrapEnabled = false. var hb = new HTMLBuilder(); // Example Method: // Starts the text with a newline if the builder already has text // and param allowNewLine = true and builder text does not end with // a newline. // The text begins with the current indent string if param // addIndent = true. // Defaults: addIndent = true, allowNewLine = true. var result = hb.GetBeginSelector("tr", textState); // result: // tr { |